package com.upcode.weighing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.upcode.weighing.domain.DetectPoint;
import com.upcode.weighing.vo.req.DetectPointQueryParam;
import com.upcode.weighing.vo.resp.DetectPointRespVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author alex
 * @since 2024-07-21
 */
public interface DetectPointMapper extends BaseMapper<DetectPoint> {

    IPage<DetectPointRespVo> selectPageList(@Param("page") Page page, @Param("vo") DetectPointQueryParam params);
    List<DetectPointRespVo> selectPageList(@Param("vo") DetectPointQueryParam params);
}
